home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / poetmf / inc / helloapp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-02  |  1.6 KB  |  66 lines

  1. // ******************************************************************
  2. //
  3. //    helloapp.h    headerfile
  4. //            
  5. //    Author: POET Software, August 1993
  6. //
  7. // ******************************************************************
  8.  
  9. #ifndef __HELLOAPP_H__
  10. #define __HELLOAPP_H__
  11.  
  12.  
  13. // ******************************************************************
  14. //
  15. //    class CHelloMainWnd
  16. //
  17. // ******************************************************************
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CHelloMainWnd frame
  21.  
  22. class CHelloMainWnd : public CFrameWnd
  23. {
  24. protected:
  25.     // Generated message map functions
  26.     //{{AFX_MSG(CHelloMainWnd)
  27.     afx_msg void OnAbout();
  28.     afx_msg void OnPersEdit();
  29.     afx_msg void OnProgEdit();
  30.     afx_msg void OnExit();
  31.     afx_msg void OnPersQuery();
  32.     afx_msg void OnProgQuery();
  33.     //}}AFX_MSG
  34.     DECLARE_MESSAGE_MAP ()
  35. public:
  36.     CHelloMainWnd();    //    constructor changed from protected to public, cause DECLARE_DYNAMIC
  37.                         //    is not used and CHelloWinApp need public constructor to create window
  38.     ~CHelloMainWnd () {}
  39. };
  40.  
  41. /////////////////////////////////////////////////////////////////////////////
  42.  
  43. // ******************************************************************
  44. //
  45. //    class CHelloWinApp
  46. //
  47. // ******************************************************************                                  
  48.  
  49. class PtBase;    
  50.  
  51. class CHelloWinApp : public CWinApp
  52. {
  53. private :
  54.     PtBase *oa;    //    database administration
  55.     
  56.     void ErrorExit (char *error);
  57. public :
  58.     CHelloWinApp ();
  59.     ~CHelloWinApp ();
  60.     BOOL InitInstance ();
  61.     PtBase *GetOA () {return oa;}
  62. };
  63.  
  64.  
  65.  
  66. #endif  // __HELLOAPP_H__